SureCart\Models\Product S

Total Complexity 44
Dependencies 11
Dependents 27
Total lines 424
Lines of code 205
Logical lines of code 76
Comment lines 166
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
getFirstVariantWithStock()
S
62 4 12
activePrices()
S
56 3 20
getTemplateIdAttribute()
S
65 4 9
getPermalinkAttribute()
S
64 3 9
getImageUrl()
S
70 3 6
withActivePrices()
S
60 2 15
withSortedPrices()
S
62 2 13
getJsonSchemaArray()
S
51 1 28
getInitialPageState()
S
55 1 18
create()
S
65 2 9
getTemplateContent()
S
73 2 5
getImageSrcsetAttribute()
S
71 2 6
getTemplatePartIdAttribute()
S
71 2 6
setProductCollectionsAttribute()
S
79 1 3
getTemplatePartAttribute()
S
79 1 3
getTemplateAttribute()
S
80 1 3
setPricesAttribute()
S
79 1 3
getCheckoutPermalinkAttribute()
S
81 1 3
setVariantsAttribute()
S
79 1 3
buyLink()
S
80 1 3
setProductMediasAttribute()
S
79 1 3
getFeaturedMediaAttribute()
S
66 1 8
activeAdHocPrices()
S
69 1 8
getMetaDescriptionAttribute()
S
80 1 3
getPageTitleAttribute()
S
80 1 3
setPurchaseAttribute()
S
79 1 3